#ifndef PANEL_H
#define PANEL_H

#include <QWidget>
#include <QPushButton>
#include <QGridLayout>
#include <QVBoxLayout>
#include <QTextEdit>
#include <QLabel>
#include <QImage>

class panel : public QWidget
{
    Q_OBJECT

public:
    panel(QWidget *parent = 0);
    ~panel();
private:

    QPushButton *startBtn;
    QPushButton *stopBtn;
    QPushButton *closeBtn;
    QLabel *pathLabel;
    QLabel *scanLabel;
    QTextEdit *pathTextEdit;
    QTextEdit *scanTextEdit;
    QImage *pathImage;
    QImage *scanImage;

    QHBoxLayout *pathLayout; //后续添加pathlayout的类
    QHBoxLayout *scanLayout;//后续添加scanlayout的类
    QHBoxLayout *btnLayout;
    QGridLayout *mainLayout;
private slots:
    void StartSlot();
    void StopSlot();

};

#endif // PANEL_H
